/* Copyright 2024 Coremail
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
class CAModel {
  domain: string = ''
  caStr: string[] = []
}

const CABase: CAModel[] = [{ domain: "qq", caStr: ["qq.root.crt", "qq.crt"] }, {
  domain: "sina.com",
  caStr: ["sina.com.root.crt", "sina.com.crt"]
}, {
  domain: "sina.cn",
  caStr: ["sina.cn.root.crt", "sina.cn.crt"]
}, {
  domain: "126",
  caStr: ["126.root.crt", "126.crt"]
}, {
  domain: "126.vip",
  caStr: ["126.vip.root.crt", "126.vip.crt"]
}, {
  domain: "163",
  caStr: ["163.root.crt", "163.crt"]
}, {
  domain: "yeah",
  caStr: ["yeah.root.crt", "yeah.crt"]
}, {
  domain: "sohu",
  caStr: ["sohu.root.crt", "sohu.crt"]
}, {
  domain: "139",
  caStr: ["139.root.crt", "139.crt"]
}, {
  domain: "189",
  caStr: ["189.root.crt", "189.crt"]
}, {
  domain: "wo",
  caStr: ["wo.root.crt", "wo.crt"]
}, {
  domain: "tom",
  caStr: ["tom.root.crt", "tom.crt"]
}, {
  domain: "aliyun",
  caStr: ["aliyun.root.crt", "aliyun.crt"]
}, {
  domain: "outlook",
  caStr: ["outlook.root.crt", "outlook.crt"]
}, {
  domain: "hotmail",
  caStr: ["hotmail.root.crt", "hotmail.crt"]
}, {
  domain: "yahoo",
  caStr: ["yahoo.root.crt", "yahoo.crt"]
}, {
  domain: "live",
  caStr: ["live.root.crt", "live.crt"]
}]

export { CABase, CAModel }